package com.zbkj.common.model.agent;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 用户代理关系表
 * </p>
 *
 * @author dazongzi
 * @since 2025-07-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("eb_user_agent")
@ApiModel(value="UserAgent对象", description="用户代理关系表")
public class UserAgent implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "代理等级（0:无，1:省,2:市,3:区/县，4:乡/镇/街道，5:社区/村，6：小区）")
    private Integer agentLevel;

    @ApiModelProperty(value = "代理用户ID")
    private Integer userId;

    @ApiModelProperty(value = "所在省")
    private String province;

    @ApiModelProperty(value = "省份ID")
    private String provinceId;

    @ApiModelProperty(value = "所在市")
    private String city;

    @ApiModelProperty(value = "城市id")
    private String cityId;

    @ApiModelProperty(value = "所在区/县")
    private String district;

    @ApiModelProperty(value = "区/县id")
    private String districtId;

    @ApiModelProperty(value = "所在街道")
    private String street;

    @ApiModelProperty(value = "所在街道id")
    private String streetId;

    @ApiModelProperty(value = "所在小区")
    private String community;

    @ApiModelProperty(value = "是否删除 状态（0：否，1：是）")
    private Integer isDel;

    @ApiModelProperty(value = "登陆账号ID")
    private Integer systemAdminId;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    @ApiModelProperty(value = "商户ID")
    private Integer merId;

    @ApiModelProperty(value = "品牌商ID（对应SystemAdmin表ID）")
    private Integer brandId;

    @ApiModelProperty(value = "所在社区/村")
    private String tribe;
}
